package com.xl.yygh.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xl.yygh.model.model.order.PaymentInfo;
import com.xl.yygh.model.model.order.RefundInfo;

/**
 * @author XiangLiang
 * @date 2023/11/16 14:14
 * @description
 */
public interface RefundInfoService extends IService<RefundInfo> {
    /**
     * 保存退款记录
     *
     * @param paymentInfo PaymentInfo封装支付数据实体
     * @return 退款记录实体
     */
    RefundInfo saveRefundInfo(PaymentInfo paymentInfo);
}
